package qx.hyj.petrescue.service;

import qx.hyj.petrescue.VO.BlogVo;
import qx.hyj.petrescue.VO.CommentVo;
import qx.hyj.petrescue.dto.BlogType;
import qx.hyj.petrescue.entity.Blog;
import qx.hyj.petrescue.entity.Comment;

import java.util.List;

public interface BlogService {
    List<BlogVo> Blogs(BlogType blogType1);

    Integer addBlog(Blog blog);

    Integer addComment(Comment comment);
    List<CommentVo> getComment(Integer blogId);

    Integer read(Integer blogId);
}
